Labels now call gtk_widget_set_clip() so there is no longer a need to
exclude them from clipping.
event_window == window;
}
-static gboolean
-gtk_widget_get_clip_draw (GtkWidget *widget)
-{
- /* labels are not clipped, because clipping them would cause
- * mnemonics to not appear on characters that go beyond the
- * baseline.
- * https://bugzilla.gnome.org/show_bug.cgi?id=648570
- */
- if (GTK_IS_LABEL (widget))
- return FALSE;
-
- return TRUE;
-}
-
static void
_gtk_widget_draw_internal (GtkWidget *widget,
cairo_t *cr,
tmp_event_window = _gtk_cairo_get_event_window (cr);
gtk_cairo_set_event_window (cr, window);
- clip_to_size &= gtk_widget_get_clip_draw (widget);
-
if (clip_to_size)
{
cairo_rectangle (cr,